diff options
| author | Adam Soltys <[email protected]> | 2024-11-14 13:32:52 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-11-14 16:09:51 -0800 |
| commit | 202eea6e484b562961a72f98a642122d0e0f8086 (patch) | |
| tree | 786d8c833e16762b87a193fb4c09d634784f7744 /src/routes/(app)/[username]/(profile) | |
| parent | adf232ae340407ddfabbc0020a4a0dd98df34cfd (diff) | |
| download | coinos-ui-202eea6e484b562961a72f98a642122d0e0f8086.tar.gz coinos-ui-202eea6e484b562961a72f98a642122d0e0f8086.zip | |
payment amount helpers
Diffstat (limited to 'src/routes/(app)/[username]/(profile)')
| -rw-r--r-- | src/routes/(app)/[username]/(profile)/+page.svelte | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/routes/(app)/[username]/(profile)/+page.svelte b/src/routes/(app)/[username]/(profile)/+page.svelte index e956aab7..b3b91405 100644 --- a/src/routes/(app)/[username]/(profile)/+page.svelte +++ b/src/routes/(app)/[username]/(profile)/+page.svelte @@ -1,6 +1,5 @@ <script> - import { run } from 'svelte/legacy'; - + import { scale } from "svelte/transition"; import { btc, f, sat } from "$lib/utils"; import Icon from "$comp/Icon.svelte"; import Account from "$comp/Account.svelte"; @@ -22,11 +21,6 @@ let rate = $derived(rates[currency]); let total = $derived(items.reduce((a, b) => a + b.price * b.quantity, 0)); - let refresh = (d) => ({ accounts, items, subject, user, rates } = d); - run(() => { - refresh(data); - }); - let install = async () => { if (!$installPrompt) return; await $installPrompt.prompt(); |
